package org.syyo.admin.mapper;

import org.apache.ibatis.annotations.Param;

/**
 * @Auther: wangzhong
 * @Date: 2019/10/8 17:07
 * @Description:
 */
public interface UserRoleMapper {

    int addUserRole(@Param("userId") Integer userId, @Param("roleId") Integer roleId);

    int delUserRoleByUserId(Integer userId);

    int delUserRoleByRoleId(Integer roleId);

}
